<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0"/>
    <title>首页</title>
    <link rel="stylesheet" href="css/commm.css">
    <link rel="stylesheet" type="text/css" href="font/iconfont/iconfont.css">
    <link rel="stylesheet" href="css/mmd_index.css"/>
</head>
<body>
  <header  class="header">
    <div class="top clearfix">
      <div class="hd_left"><img src="images/header_logo.png" alt=""></div>
      <div class="hd_right"><img src="images/header_app.png" alt=""></div>
    </div>
    <div class="input">
        <input type="search" placeholder="请输入你要搜索的文字">
        <a href="#"><span class="sousuo">搜索</span></a>
    </div>
  </header>


  <div class="list clearfix" id="lists">
  </div>

  
  <div class="discount clearfix">
    <div class="distitle clearfix">
      <div class="disbar">超值折扣推荐</div>
      <div class="icon"><</div>
    </div>
    <div id="details_cont">
    </div>
  </div>


    <div class="more">更多优惠信息</div>
  <div class="discount clearfix">
    <div class="distitle clearfix">
      <div class="disbar">品牌排行</div>
      <div class="icon"><</div>
    </div>
    <div class="login">
        <ul>
          <a href=""><li>登录</li></a>
          <a href=""><li class="mid">注册</li></a>
          <a href="#"><li>返回首页</li></a>
        </ul>
    </div>
  </div>


    <p class="bot"><span class="reds">手机app下载</span> 慢慢买手机版 -- <span class="grays">掌上比价平台</span></p>
    <p class="bot">m.manmanbuy.com</p>
</body>
<script src="js/jquery.js"></script>
<script src="js/template.js"></script>
<script type="text/html" id="list">
  {{if result}}
    <ul>
      {{each result as value}}
          <a href={{value.titlehref}}><li>{{#value.img}}<p>{{value.name}}</p></li></a>
      {{/each}}
    </ul>
  {{/if}}
</script>
<script type="text/html" id="details">
{{if result}}
{{each result as value}}
  <div class="details clearfix">
      <a href="test.html" class="clearfix">
        <div class="fl det_img">{{#value.productImgSm}}</div>
          <div class="fl details_add">
              <p class="desc fl">{{value.productName}}<span>{{value.productPinkage}}</span></p>
              <p class="price fl">{{value.productFrom}}|{{value.productTime}}<span><i class="iconfont icon-comments"></i>{{value.productComCount}}</span></p>
          </div>
      </a>
  </div>
    {{/each}}
    {{/if}}
</script>
<script src="js/mmd_index.js"></script>
<script src="js/function.js"></script>
</html>
